using System.Collections.Generic;
using BillsDomain;

namespace BillsDataAccess
{
    /// <summary>
    /// Describes 
    /// </summary>
    public interface IBillsData
    {
        /// <summary>
        /// Saves the payments.
        /// </summary>
        /// <param name="payments">The scheduled payments.</param>
        void SavePayments(List<ScheduledPayment> payments);

        /// <summary>
        /// Retrieves the payments.
        /// </summary>
        /// <returns>The scheduled payments</returns>
        List<ScheduledPayment> RetrievePayments();

        /// <summary>
        /// Saves the payments.
        /// </summary>
        /// <param name="payments">The scheduled payments.</param>
        void SavePayments(List<ScheduledPayment> payments, string pathAndFileName);

        /// <summary>
        /// Retrieves the payments.
        /// </summary>
        /// <returns>The scheduled payments</returns>
        List<ScheduledPayment> RetrievePayments(string pathAndFileName);
    }
}
